package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.entity.domain.business.BusinessCountDO;
import com.qk.entity.domain.business.BusinessDO;
import com.qk.entity.Business;
import com.qk.entity.dto.business.BusinessListDTO;
import com.qk.entity.dto.business.BusinessPoolDTO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author fantuan
 * @created 2025/10/15 10:49
 * @description
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    BusinessCountDO selectCountBusiness();

    Page<BusinessDO> selectBusinessList(Page<Object> pages, BusinessListDTO dto);

    Page<Business> selectBusinessPool(Page<Object> pages, BusinessPoolDTO dto);
}
